﻿using System;

namespace Teigha.Core
{
	public class OdEdInputTracker_Internal : OdEdInputTracker
	{
		public OdEdInputTracker_Internal(IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
		{
		}

		public override int addDrawables(OdGsView pView)
		{
			int result = GlobalsPINVOKE.OdEdInputTracker_addDrawables(OdEdInputTracker.getCPtr(this), OdGsView.getCPtr(pView));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public override void removeDrawables(OdGsView pView)
		{
			GlobalsPINVOKE.OdEdInputTracker_removeDrawables(OdEdInputTracker.getCPtr(this), OdGsView.getCPtr(pView));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}
	}
}
